﻿/// <summary>
/// IYnote Plugin
/// </summary>
public interface IYnotePlugin : IPlugin 
{
    /// <summary>
    /// Dispose Called As A Contructor
    /// </summary>
    void Dispose();
    /// <summary>
    /// Get The Host
    /// </summary>
    IYnoteHost Host { get; set; }
    /// <summary>
    /// ToolStripMenuItems of the Parent item.
    /// </summary>
    System.Collections.Generic.List<System.Windows.Forms.ToolStripMenuItem> MenuItems { get; }
    /// <summary>
    /// Where To Add?
    /// </summary>
    AddTo AddTo { get; }
}
/// <summary>
/// Specify where to add the plugin
/// </summary>
public enum AddTo 
{ 
    /// <summary>
    /// File ToolStripMenuItem
    /// </summary>
    File,
    /// <summary>
    /// Edit ToolStripMenuItem
    /// </summary>
    Edit,
    /// <summary>
    /// View ToolStripMenuItem
    /// </summary>
    View,
    /// <summary>
    /// Settings ToolStripMenuIem
    /// </summary>
    Settings,
    /// <summary>
    /// Run ToolStripMenuItem
    /// </summary>
    Run,
    /// <summary>
    /// Plugin ToolStripMenuItem
    /// </summary>
    Plugins
}